package com.wn.ov;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DraRecordOv {
    private int id;
    private String no;

    @NotBlank(message = "退药的药品名不能为空")
    private  String name;

    private BigDecimal price;

    @NotNull(message = "退药药品的数量不能为空")
    private Integer number;
    private BigDecimal subtotal;

    @NotBlank(message = "退药人的姓名不能为空")
    private String realName;
    private int status;
    private Date createTime;

    private String[] orderParams;
}
